<script setup lang="ts">
import { ref } from "vue";
import { useRoute } from "vue-router";
const route = useRoute();
const code = ref(route.params.code)
</script>
<template>
  <h4>详情页code: {{ code }}</h4>
</template>
